package cn.com.pet.common.dao;

import java.util.List;

import cn.com.pet.common.entity.AdminUser;
import cn.com.pet.common.entity.Privilege;

public interface PrivilegeMapper {

	List<Privilege> getAllPrivilege();

	List<AdminUser> getPrivilegeList(Privilege privilege);

	AdminUser getPrivilegeById(Privilege privilege);

	int updatePrivilege(Privilege privilege);

	int addPrivilege(Privilege privilege);

}
